<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" type="image/png" href="/static/assets/i/logo.png">
    <title>定时获取设备经纬度数据</title>
</head>
<body>
<h1>定时获取设备经纬度数据(一分钟)</h1>
</body>
<script src="/static/assets/js/jquery.min.js"></script>
<script>
    $(function(){
        jinwu();
        setInterval(function working(){
            jinwu();
        },60000);
    });
    function jinwu() {
        $.ajax({
            url: "{:url('Deviceinfo2/info')}",
            type: 'POST',
            data: {},
            dataType: 'json',
            success: function (res) {

            }
        });
    }
</script>
</html>